import Api from "../../../common/api/api.js"

export const ProcessBrakeAssemblyApi = {
	dividedTrainPlanList: params => {
	        return Api.httpGet(`/brakeAssemblePlan/assignedLine/plans`, params);
	},
	dividedTrainPlanUndividedList: params => {
	        return Api.httpGet(`/brakeAssemblePlan/schedule/preset`, params);
	},
	//缓存线
	cacheLineList: params => {
	        return Api.httpGet(`/brakeAssemblePlan/cacheLine`, params);
	},
	//制动分车123
	lineList: params => {
	        return Api.httpGet(`/brakeAssemblePlan/lines`, params);
	},
	//保存
	divideTrainSave: params => {
	        return Api.httpPost(`/brakeAssemblePlan/schedule/confirmPreset`, params);
	},
}